package exception;

import utilts.ResponseCode;

public class ActiveUserException extends Exception{

    private ResponseCode responseCode;
    public ResponseCode getResponseCode(){
        return  responseCode;
    }
    public ActiveUserException() {
        super();
    }
    public ActiveUserException(String message, Throwable cause) {
        super(message, cause);
    }
    public ActiveUserException(ResponseCode responseCode) {
        super(responseCode.getDesc());
        this.responseCode=responseCode;
    }
    public ActiveUserException(Throwable cause) {
        super(cause);
    }
}
